package com.bdqn.t350.service;

import com.bdqn.t350.entity.Page;
import com.bdqn.t350.entity.Pet;

import java.util.List;

public interface PetService {

    //查询所有
    List<Pet> getListBiz(Pet petEntity);

    //根据品种查询
    List<Pet> findByPetBreedBiz(String petBreed);

    //查询名称重复
    int countBiz(String petName);

    //添加
    int addPetBiz(Pet pet);

    //查询名称重复
    int tableCountBiz();

    //分页查询
    List<Pet> getPageListBiz(Page page);

    //根据id修改性别
    int updateBySexBiz(Pet pet);

}
